<template>
  <div>详情页</div>
</template>

<script>
import { getDetail } from "@/api/api";

export default {
  async mounted() {
    const res = await getDetail({ id: this.$route.params.id });
    console.log(res);
  },
};
</script>
